import {LineScale} from '@alex_xu/react-loading';
import {Mask} from "antd-mobile";

const styled = {
    "position": "absolute",
    "top": "50%",
    "left": "50%",
    "display": "flex",
    "alignItems": "center",
    "justifyContent": "center",
    "width": "150px",
    "height": "150px",
    "marginTop": "-75px",
    "marginLeft": "-75px",
    "background": "white",
    "borderRadius": "16px"
}
export default () => {
    return (
        <Mask visible={true}>
            <LineScale size={4} text="加载中..." style={styled}/>
        </Mask>

    );
};